package com.xin.di.uav.applet.service;

import com.xin.di.uav.applet.request.UserAccountsAddParam;
import com.xin.di.uav.applet.request.UserAccountsEditParam;
import com.xin.di.uav.applet.resp.UserAccountResp;
import com.xin.di.uav.common.request.common.IdRequest;
import com.xin.di.uav.user.po.UserPO;

import java.util.Date;


public interface UserAccountService {
    boolean add(UserAccountsAddParam userAccountsAddParam);

    boolean delete(String id);

    boolean update(UserAccountsEditParam userAccountsEditParam);

    boolean updateStatus(IdRequest idRequest);

    UserPO getById(String id);

    UserAccountResp list(int pageNum, int pageSize, String phone, Date startTime, Date endTime);


    String loginByCode(String userName, String password);
}
